package com.hc.summary.hilt.module;

import com.hc.summary.hilt.bean.TestBean;

import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityComponent;
import dagger.hilt.android.scopes.ActivityScoped;

@InstallIn(ActivityComponent.class)
@Module
public class TestBeanModule {
    @ActivityScoped
    @Provides
    public TestBean generateTestBean(){
        return new TestBean();
    }
}
